#ifndef MAINSCENEWIDGET_H
#define MAINSCENEWIDGET_H
#include <QGLWidget>
#include "CameraInterface.h"

class MainSceneWidget : public QGLWidget
{
	Q_OBJECT

public:
	MainSceneWidget (QWidget *parent = NULL);
	~MainSceneWidget ();

	virtual void initializeGL ();

	virtual void paintGL ();

	void mousePressEvent (QMouseEvent * e);

	void mouseMoveEvent (QMouseEvent * e);

	void mouseReleaseEvent (QMouseEvent * e);

	void wheelEvent (QWheelEvent * e);

	void keyPressEvent (QKeyEvent * e);

	void keyReleaseEvent (QKeyEvent * e);

private:

	void _setLight ();
	void _drawCoord ();
	Camera g_camera;
	CameraInterface _cameraInterface;
};

#endif // MAINSCENEWIDGET_H